/* 适配项目中存在此设置 */
::-webkit-scrollbar {
  width: 5px;
  height: 7px;
}

.ls-view-tree {
  position: relative;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  border-top: 1px solid #ececec;
}

.ls-view-tree > .title {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 49px;
  font-weight: bold;
  border: 1px solid #ececec;
  border-top: 0;
  background-color: #f7f7f7;
  box-sizing: border-box;
}

.ls-view-tree .search-box {
  padding: 9px;
  /* background-color: #f5f5f7; */
}

.ls-view-tree .search-box .search-input {
  width: 100% !important;
}

.ls-view-tree .search-box {
  border-width: 0px 1px 0px 1px;
  border-style: solid;
  border-color: #ececec;
}

.ls-view-tree .tree-box {
  border: 1px solid #ececec;
  border-top: 0;
  box-sizing: border-box;
}

.ls-view-tree .handler-box {
  position: absolute;
  bottom: -45px;
  left: 0;
  width: 100%;
  height: 45px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 1px solid #ececec;
  border-top: 0;
  box-sizing: border-box;
}

.ls-view-tree .handler-box > i {
  cursor: pointer;
  font-size: 1.2em;
}

.handler-box [class|='ls-icon'] {
  padding: 5px;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center center;
}

.handler-box [class|='ls-icon']:hover {
  opacity: 0.7;
}

.handler-box .ls-icon-add {
  background-image: url(../images/add.svg);
}

.handler-box .ls-icon-edit {
  background-image: url(../images/edit.svg);
}

.handler-box .ls-icon-delete {
  background-image: url(../images/delete.svg);
}

.handler-box .ls-icon-up {
  background-image: url(../images/up.svg);
}

.handler-box .ls-icon-down {
  background-image: url(../images/down.svg);
}

.ls-view-tree .el-scrollbar {
  height: 100%;
}

.ls-view-tree .el-scrollbar__wrap {
  height: calc(100% + 7px);
}

.ls-view-tree .el-tree {
  width: 100%;
  min-width: max-content;
}

.ls-view-tree .el-tree.ellipsis {
  min-width: inherit;
}

.ls-view-tree .el-tree-node__content {
  height: 45px;
}

.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
  color: #409eff;
  background-color: #f0f7ff;
}

.el-tree-node__content:hover {
  background-color: #ececec;
}

.ls-view-tree .el-tree-node__expand-icon {
  font-size: 16px;
  color: #999;
}

.ls-view-tree .is-current > .el-tree-node__content > .el-tree-node__expand-icon {
  color: inherit;
}

.el-tree-node__expand-icon.is-leaf {
  pointer-events: none;
}

.el-tree-node__expand-icon.is-leaf::before {
  content: '•';
  width: 16px;
  display: inline-block;
  text-align: center;
  font-size: 22px;
}

.ls-view-tree .off-icon .el-icon-caret-right {
  pointer-events: none;
  visibility: hidden;
}

.ls-view-tree .el-tree-node__content {
  padding-right: 10px;
}

.ls-view-tree .is-gray {
  background-color: #f8f8f8;
}
